<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
<%
	String path = request.getContextPath();
%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
 <meta name="renderer" content="webkit">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>房屋信息</title>
<jsp:include page="../../import.jsp" flush="true" />
</head>
<body>
             <div class="fieldset1 tabel_col tabel_col_s clearFix noBorder">
               <div class="fieldBox col_50">
                    <div class="label">购买时间</div>
                    <div class="field">
                      <span id="buyDt" name="buyDt">${vehicle.buyDt}</span>
                    </div>
                </div>
                  <div class="fieldBox col_50">
                                <div class="label">品牌</div>
                                <div class="field">
                                 <span id="brNm" name="brNm">${vehicle.brNm}</span>
                                </div>
                    </div>
               <div class="fieldBox col_50" >
                    <div class="label">数量</div>
                    <div class="field">
                        <span id="qty" name="qty">${vehicle.qty}</span>
                    </div>
                </div>
                <div class="fieldBox col_50">
                    <div class="label">购买价格（万元）</div>
                    <div class="field">
                         <span id="buyPrc" name="buyPrc">${vehicle.buyPrc}</span>
                    </div>
                </div>
                    <div class="fieldBox col_50">
                    <div class="label">贷款余额（万元)</div>
                    <div class="field">
                           <span id="loanBlc" name="loanBlc">${vehicle.loanBlc}</span>
                    </div>
                </div>
                <div class="fieldBox col_50" >
                    <div class="label">运载吨位</div>
                    <div class="field">
                          <span id="cryTng" name="cryTng">${vehicle.cryTng}</span>
                    </div>
                </div>
                
                <div class="fieldBox col_50">
                    <div class="label">客车载客数（仅客车）</div>
                    <div class="field">
                             <span id="psgNum" name="psgNum">${vehicle.psgNum}</span>
                    </div>
                </div>
            <!-- hide data -->
	        <div class="fieldBox col_100" style="display:none;">
	          <div class="field">
	              <input name="vehicleId"  id="vehicleId" type="text" class="ui-textbox" value="${vehicle.id}">
	          </div>
	        </div>
	        </div>
            
	<script>
		$(function() {
		   var buyDt = $("#buyDt").text();
			if(null != buyDt&&buyDt!=''){
				var date = new Date(buyDt);
				$("#buyDt").text(DateUtils.formatDate(date, DateUtils.YYYY_MM_DD));
			}
	        
	        
		});
		
	</script>

</body>
</html>